<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
<%@ page import="com.lmpop.trade.ts_category.*" %>
<%@ page import="com.lmpop.trade.tb_commpara.Tb_commparaInfo" %>
<jsp:useBean id="randomId" class="com.lmpop.frame.util.RandomID" scope="page" /> 
<%
	String lang_id = randomId.GenTradeId();

	String resume_id="";
  	if(request.getParameter("resume_id")!=null) resume_id = request.getParameter("resume_id");
	String is_work = "";
	if(request.getParameter("is_work")!=null) is_work = request.getParameter("is_work");
	Tb_commparaInfo tb_commparaInfo = new Tb_commparaInfo(); 
	String lang_type = tb_commparaInfo.getSelectItem("50","");
	String rw_type = tb_commparaInfo.getSelectItem("51","");
	

	String cust_id="",publish_user_id="";
	if(session.getAttribute("session_cust_id")!=null){
		cust_id  = session.getAttribute("session_cust_id").toString();
	}
	if(session.getAttribute("session_user_id")!=null){
		publish_user_id  = session.getAttribute("session_user_id").toString();
	}
%>
<html>
  <head>
    <title>发布语言能力</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="biz.js"></script>
	<script type="text/javascript" src="/js/jquery.js"></script>
</head>

<body>
	<h1>发布语言能力</h1>
	
	<!--
	<table width="100%" align="center" cellpadding="0" cellspacing="0" class="dl_so">
        <tr>
          <td width="9%" align="center"><img src="/program/admin/index/images/ban_01.gif" /></td>
          <td width="91%" align="left">
		  <h4>-----------------</h4>
		  <span>1----------------。</span><br/>
		  <span>2----------------。</span>
		  </td>
        </tr>
      </table>
      <br/>
	  -->
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	
	<table width="100%" cellpadding="0" cellspacing="1" border="0" class="listtab">
		

		<tr>
			<td  colspan="6">
		   &nbsp;&nbsp;<img src="/program/admin/images/infotip.gif" border="0">&nbsp;&nbsp;
		   <span style="font-size:14px;font-weight:bold;">语言能力（<font color="red">*</font>为必填项）</span>			
		   </td>
		</tr>

		
		<tr>
		  <td align="right" width="20%">外语语种<font color="red">*</font></td>	   
		  <td width="10%">
			 <select name="lang_type" id="lang_type">
				<%=lang_type%>
			 </select>	
		  </td>
		  <td width="10%" align="right">读写能力<font color="red">*</font></td>
		  <td width="10%">
			 <select name="rw_type" id="rw_type">
				<%=rw_type%>
			 </select>	  
		  </td>

		  <td width="10%" align="right">听说能力<font color="red">*</font></td>
		  <td width="40%">
			 <select name="ls_type" id="ls_type">
				<%=rw_type%>
			 </select>	  
		  </td>
		</tr>

		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="2757" />
				<input type="hidden" name="jumpurl" id="jumpurl" value="" />
				<input type="hidden" name="is_work" id="is_work" value="<%=is_work%>" />
				<input type="hidden" name="cust_id" id="cust_id" value="<%=cust_id%>" />
				<input type="hidden" name="resume_id" id="resume_id" value="<%=resume_id%>" />
				<input type="hidden" name="lang_id" id="lang_id" value="<%=lang_id%>" />
				<input type="hidden" name="user_id" id="user_id" value="<%=publish_user_id%>" />
				<input type="button" class="button_css" name="Submit3" value="保存并新增语言能力" style="cursor:pointer;" onclick="addLang(1)" />&nbsp;&nbsp;
				<input type="button" class="buttoncss" name="tradeRut" value="保存" onclick="addLang(2)"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
